golang.org/x/net/http2.ClientConn.currentRequestCountLocked (method)

6 uses

	golang.org/x/net/http2 (current package)
		transport.go#L682: 		maxConcurrentOkay = cc.currentRequestCountLocked() < int(cc.maxConcurrentStreams)
		transport.go#L717: 	if cc.currentRequestCountLocked() >= int(cc.maxConcurrentStreams) {
		transport.go#L728: func (cc *ClientConn) currentRequestCountLocked() int {
		transport.go#L742: 	return max(0, int(cc.maxConcurrentStreams)-cc.currentRequestCountLocked())
		transport.go#L1395: 		if cc.currentRequestCountLocked() < int(cc.maxConcurrentStreams) {
		transport.go#L2952: 	return cc.cc.currentRequestCountLocked()